package at.fhooe.mc.master.clc.shared.domain;

/**
 * This is the main control enum. Here the frameworks are defined that shall 
 * be tested and here also the test classes to be used are linked to the 
 * metrics keys. <br>
 * Note that there are certain rules to be met: <br>
 * 1) There can only be one test class for one metrics key for one framework at the moment. <br>
 * 2) The test class defined with the metrics key MUST implement ITestable
 * 
 * @author Daniel Karzel
 *
 */
public enum FrameworkID
{
	OBJECTIFY("Objectify", "Objectify", true),
	JDO("JDO", "Java Data Objects", true),
	JPA("JPA", "Java Persistence API", true),
	NATIVE("Native", "Google Datastore Low Level API", true);
	
	private String label;
	private String fullName;
	boolean active;
	
	private FrameworkID(String label, String fullName, boolean active)
	{
		this.label = label;
		this.fullName = fullName;
		this.active = active;
	}
	
	public String getLabel()
	{
		return this.label;
	}
	
	public String getFullName()
	{
		return fullName;
	}
	
	public boolean isActive()
	{
		return this.active;
	}
}
